package cn.tedu.property_management_system.mapper;

import cn.tedu.property_management_system.entity.Property;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface PropertyMapper {

    void insert(Property property);

    List<Property> select();

    List<Property> searchSelect(Property property);

    List<Property> searchSelects(Property property);

    void update(Property property);

    void delete(@Param("id") Integer id);
}